<template>
  <center>
  <div id="app">
<router-view v-if="isRouterShow">

</router-view>

  </div>
    </center>
</template>

<script>
import Header from "./components/Header";
import Footer1 from "./components/Footer1";

export default {
  name: 'App',
  provide () {
    return {
      reload: this.reload
    }
  },
  data(){
    return{
      isRouterShow:true
    }
  },
  methods:{
    async reload () {
      this.isRouterShow = false
      await this.$nextTick()
      this.isRouterShow = true
    }
  }
}
</script>

<style>

</style>
